package com.xiongwei.strategy;

/**
 * @author XiongWei
 * @date 2024/2/6
 */
public class ToyDuck extends Duck{

    public ToyDuck() {
        flyBehavior = new NoFlyBehavior();
        quackBehavior = new NoQuackBehavior();
        System.out.print("玩具鸭");
    }
}
